package com.ptc.ims.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.ptc.ims.shared.Product;

public interface InventoryServiceAsync
{
	void fetchProducts(AsyncCallback<List<Product>> callback);

	void modifyProduct(Product newValues, AsyncCallback<Boolean> callback);

	void addProduct(Product newItem, AsyncCallback<String> callback);

	void removeProduct(List<String> productIds, AsyncCallback<List<String>> callback);

	void fetchProduct(String productId, AsyncCallback<Product> callback);
}
